package com.yuandian.api.business_monitor.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 业务服务资源编码（新规范改造）
 * @author lzg
 * @since 20200218
 */
public class BusinessResource extends PageEntity implements Serializable{

	private static final long serialVersionUID = 1L;
	private Integer id;
	/**
	 * 资源编码
	 */
	private String resourceCoding; 
	/**
	 * 识别字符：字符串带参统一替换成无带参，如：id=”1001“ 替换 id=
	 */
	private String identifyCharacter; 
	/**
	 * 识别字符类型 1：url、2：api、3：sq
	 */
	private Integer type;  
	/**
	 * 名称规则：应用层协议+业务服务+资源ID
	 */
	private String name; 
	/**
	 * 确认状态 0：否 1：是
	 */
	private Integer isStatus; 
	/**
	 * 是否启用 0：否 1：是
	 */
	private Integer whetherEnable; 
	/**
	 * 启动时间
	 */
	private Date enablingTime; 
	/**
	 * 资源类型
	 */
	private String resourceType; 
	/**
	 * 协议资源编码
	 */
	private String agreementResourceCoding; 
	/**
	 * 创建人
	 */
	private String creater; 
	/**
	 * 创建时间
	 */
	private Date createTime; 
	/**
	 * 修改人
	 */
	private String modifier; 
	/**
	 * 修改时间
	 */
	private Date modifierTime; 
	private String topologyHtml; 
	/**
	 * 学习标识
	 */
	private Integer studyIdentifles;  
	/**
	 * 系统资源编码
	 */
	private String systemCoding; 
	/**
	 * 资源类别 0:默认状态，非首端业务服务资源的状态 1:关键加载项业务服务资源 2:步骤业务服务资源
	 */
	private Integer category;  
	/**
	 * 父资源编码
	 */
	private String resourceKeyCoding;  
	
	/**
	 * 外部属性
	 * @return
	 */
	private String beginUrl;
	private String endUrl;
	private String configUrl;//匹配的URl
	private String keyword;//关键字
	private String source;//来源
	private String fuzzyMatching;//关键字匹配串
	private String preFuzzyMatching;
	private String sufFuzzyMatching;
	private String isCheck;
	private Integer systemItId;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getResourceCoding() {
		return resourceCoding;
	}
	public void setResourceCoding(String resourceCoding) {
		this.resourceCoding = resourceCoding;
	}
	public String getIdentifyCharacter() {
		return identifyCharacter;
	}
	public void setIdentifyCharacter(String identifyCharacter) {
		this.identifyCharacter = identifyCharacter;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getIsStatus() {
		return isStatus;
	}
	public void setIsStatus(Integer isStatus) {
		this.isStatus = isStatus;
	}
	public Integer getWhetherEnable() {
		return whetherEnable;
	}
	public void setWhetherEnable(Integer whetherEnable) {
		this.whetherEnable = whetherEnable;
	}
	public Date getEnablingTime() {
		return enablingTime;
	}
	public void setEnablingTime(Date enablingTime) {
		this.enablingTime = enablingTime;
	}
	public String getResourceType() {
		return resourceType;
	}
	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}
	public String getAgreementResourceCoding() {
		return agreementResourceCoding;
	}
	public void setAgreementResourceCoding(String agreementResourceCoding) {
		this.agreementResourceCoding = agreementResourceCoding;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getModifier() {
		return modifier;
	}
	public void setModifier(String modifier) {
		this.modifier = modifier;
	}
	public Date getModifierTime() {
		return modifierTime;
	}
	public void setModifierTime(Date modifierTime) {
		this.modifierTime = modifierTime;
	}
	public String getTopologyHtml() {
		return topologyHtml;
	}
	public void setTopologyHtml(String topologyHtml) {
		this.topologyHtml = topologyHtml;
	}
	public Integer getStudyIdentifles() {
		return studyIdentifles;
	}
	public void setStudyIdentifles(Integer studyIdentifles) {
		this.studyIdentifles = studyIdentifles;
	}
	public String getSystemCoding() {
		return systemCoding;
	}
	public void setSystemCoding(String systemCoding) {
		this.systemCoding = systemCoding;
	}
	public Integer getCategory() {
		return category;
	}
	public void setCategory(Integer category) {
		this.category = category;
	}
	public String getResourceKeyCoding() {
		return resourceKeyCoding;
	}
	public void setResourceKeyCoding(String resourceKeyCoding) {
		this.resourceKeyCoding = resourceKeyCoding;
	}
	public String getBeginUrl() {
		return beginUrl;
	}
	public void setBeginUrl(String beginUrl) {
		this.beginUrl = beginUrl;
	}
	public String getEndUrl() {
		return endUrl;
	}
	public void setEndUrl(String endUrl) {
		this.endUrl = endUrl;
	}
	public String getConfigUrl() {
		return configUrl;
	}
	public void setConfigUrl(String configUrl) {
		this.configUrl = configUrl;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getFuzzyMatching() {
		return fuzzyMatching;
	}
	public void setFuzzyMatching(String fuzzyMatching) {
		this.fuzzyMatching = fuzzyMatching;
	}
	public String getPreFuzzyMatching() {
		return preFuzzyMatching;
	}
	public void setPreFuzzyMatching(String preFuzzyMatching) {
		this.preFuzzyMatching = preFuzzyMatching;
	}
	public String getSufFuzzyMatching() {
		return sufFuzzyMatching;
	}
	public void setSufFuzzyMatching(String sufFuzzyMatching) {
		this.sufFuzzyMatching = sufFuzzyMatching;
	}
	public String getIsCheck() {
		return isCheck;
	}
	public void setIsCheck(String isCheck) {
		this.isCheck = isCheck;
	}
	public Integer getSystemItId() {
		return systemItId;
	}
	public void setSystemItId(Integer systemItId) {
		this.systemItId = systemItId;
	}
	@Override
	public String toString() {
		return "BusinessResource [id=" + id + ", resourceCoding=" + resourceCoding + ", identifyCharacter="
				+ identifyCharacter + ", type=" + type + ", name=" + name + ", isStatus=" + isStatus
				+ ", whetherEnable=" + whetherEnable + ", enablingTime=" + enablingTime + ", resourceType="
				+ resourceType + ", agreementResourceCoding=" + agreementResourceCoding + ", creater=" + creater
				+ ", createTime=" + createTime + ", modifier=" + modifier + ", modifierTime=" + modifierTime
				+ ", topologyHtml=" + topologyHtml + ", studyIdentifles=" + studyIdentifles + ", systemCoding="
				+ systemCoding + ", category=" + category + ", resourceKeyCoding=" + resourceKeyCoding + ", beginUrl="
				+ beginUrl + ", endUrl=" + endUrl + ", configUrl=" + configUrl + ", keyword=" + keyword + ", source="
				+ source + ", fuzzyMatching=" + fuzzyMatching + ", preFuzzyMatching=" + preFuzzyMatching
				+ ", sufFuzzyMatching=" + sufFuzzyMatching + ", isCheck=" + isCheck + ", systemItId=" + systemItId
				+ "]";
	}	
}